<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <title>修改密码</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" th:href="@{/front/js/layui/css/layui.css}">
</head>
<body>
<form class="layui-form" th:action="@{/front/update}">
    <div class="layui-form-item" style="padding-top: 100px;padding-right: 100px">
        <label class="layui-form-label">账号</label>
        <div class="layui-input-block">
            <input type="text" name="username" lay-verify="required" th:value="${user.username}" readonly  lay-reqtext="账号是必填项，岂能为空？" autocomplete="off" placeholder="请输入账号" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">密码</label>
        <div class="layui-input-block"style="padding-right: 100px">
            <input type="password" name="uPassword" th:value="${user.UPassword}" lay-verify="required" lay-reqtext="密码是必填项，岂能为空？" autocomplete="off" placeholder="请输入密码" class="layui-input">
        </div>
    </div>
    <div>
        <input type="hidden"  name="uid" th:value="${user.getUid()}">
    </div>
    <!--提交、重置按钮-->
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
</html>
